package com.neusoft.elm_servlet.dao;

import java.sql.SQLException;
import java.util.List;

import com.neusoft.elm_servlet.po.Cart;
import com.neusoft.elm_servlet.po.OrderDetailet;
import com.neusoft.elm_servlet.po.Orders;

public interface OrdersDao {

	int createOrders(Orders orders) throws SQLException;

	int createOrderDetailet(List<Cart> listCart, int orderId) throws SQLException;

	Orders getOrdersById(String orderId) throws SQLException;

	List<OrderDetailet> getOrderDetailetByOrderId(String orderId) throws SQLException;

	List<Orders> listOrdersByUserId(String userId) throws SQLException;

}
